angular.module('Initialize').config(['$stateProvider', '$urlRouterProvider',
    function($stateProvider, $urlRouterProvider) {
        $stateProvider.
            //终端绑定
            state('index.TerminalBind', {
                url: '/TerminalBind/Edit',
                templateUrl: 'modules/Initialize/client/views/TerminalBind.client.view.html',
                controller: 'TerminalBindController',
                access: { requiredAuthentication: true }
            }).
            //工位绑定
            state('index.WorkLocationBind', {
                url: '/WorkLocationBind/Edit',
                templateUrl: 'modules/Initialize/client/views/WorkLocationBind.client.view.html',
                controller: 'WorkLocationBindController',
                access: { requiredAuthentication: true }
            });
    }
]);
